package com.qixin.modules.eaApplication.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;
import com.qixin.modules.eaApplication.entity.EaEntertainApply;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Update;

/**
 * @Description: 招待费申请单
 * @Author: qixin-boot
 * @Date:   2021-07-06
 * @Version: V1.0
 */
public interface EaEntertainApplyMapper extends BaseMapper<EaEntertainApply> {
    List<EaEntertainApply> selectEntertainApplys(Map<String, Object> queryWrapper);

    @Update("update ea_entertain_apply set ea_entertain_id = null where id = #{id} ")
    void updateByBillId(String id);

}
